h1,
h2,
h3,
h5,
h6,
img,
svg,
pre,
table,
tr {
  page-break-inside: avoid;
}

body,
blockquote,
hr,
p,
ul,
ol,
li,
table,
thead,
tr,
th,
td,
h1,
h2,
h3,
h4,
h5,
h6,
dl,
dd,
pre,
code,
img,
mark,
strong,
em,
checkbox,
del,
button,
figure,
input,
textarea,
form,
tbody {
  margin: 10px 10px;
  padding: 0;
  /* 移动端可点击元素去处默认边框 */
  -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
}

/* 统一 input、select、textarea 宽度 */
input,
select,
textarea {
  -webkit-box-sizing: content-box;
  -moz-box-sizing: content-box;
  box-sizing: content-box;
}

blockquote {
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  margin: 1.6em 0;
  padding: 0 0 0 1.2em;
  border-left: 4px solid #c54a4a;
  color: #373737;
  min-height: 20px;
}

/* 移除浏览器部分元素的默认边框 */
img,
button,
textarea {
  border: none;
  -webkit-appearance: none;
}

input[type="checkbox"] {
  /* border: none;
    -webkit-appearance: none; */
  list-style: none;
  background: #8246cc;
  cursor: pointer;
  border: none;
}

input[type="checkbox"] > p {
  display: inline;
}

li.task-list-item {
  list-style-type: none;
  text-indent: -20px;
}

/* 取消元素 outline 样式 */
a,
h1,
h2,
h3,
h4,
h5,
h6,
input,
select,
button,
option,
textarea,
optgroup {
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  font-style: inherit;
  line-height: inherit;
  color: inherit;
  outline: none;
}

/* 取消部分浏览器数字输入控件的操作按钮 */
input[type="number"] {
  -moz-appearance: textfield;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

input {
  /*由于 input 默认不继承父元素的居中样式，所以设置：text-align: inherit*/
  text-align: inherit;
}

input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
  color: #999;
}

input:-moz-placeholder,
textarea:-moz-placeholder {
  color: #999;
}

input::-moz-placeholder,
textarea::-moz-placeholder {
  color: #999;
}

input:-ms-input-placeholder,
textarea:-ms-input-placeholder {
  color: #999;
}

template {
  /*由于部分浏览 template 会显示出来，所以要隐*/
  display: none;
}

textarea {
  /*textarea 默认不可以放缩*/
  resize: none;
}

table {
  /*table 相邻单元格的边框间的距离设置为 0*/
  border-spacing: 0;
  /*默认情况下给 tr 设置 border 没有效果，如果 table 设置了边框为合并模式：border-collapse: collapse;就可以了*/
  border-collapse: collapse;
  text-align: justify;
}

/* 鼠标手型 */
a[href],
input[type="submit"],
input[type="image"],
input[type="button"],
label[for],
select,
button {
  cursor: pointer;
}

h1,
h2,
h3,
h4,
h5,
h6,
strong {
  font-weight: bold;
}

html {
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-size: 10px;
}

*::selection {
  color: #02ad3e;
  background-color: pink;
}

*::-moz-selection {
  color: #02ad3e;
  background-color: pink;
}

html {
  background: #1a0d0d;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Droid Sans",
    "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Droid Sans Fallback",
    "Microsoft YaHei", sans-serif;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}

body {
  max-width: 1038px;
  background: #fefefe;
  margin: 3em auto 0;
  padding-top: 2em;
  padding: 60px 120px;
  -webkit-font-smoothing: antialiased;
  font-size: 1.6rem;
  line-height: 2.3;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Droid Sans",
    "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Droid Sans Fallback",
    "Microsoft YaHei", sans-serif;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  font-weight: normal;
  color: #353535;
  word-wrap: break-word;
  word-break: normal;
  overflow-wrap: break-word;
  text-align: justify;
  overflow-x: hidden;
  overflow-y: auto;
  box-sizing: border-box;
  text-rendering: optimizeLegibility;
}

p {
  margin: 1em 0 1.8em 0;
}

hr {
  margin: 38px 0;
  border: none;
  border-bottom: 1px dashed rgba(205, 205, 205, 0.35);
  color: rgba(205, 205, 205, 0.35);
  height: 1px;
  line-height: 1px;
  font-size: 0.1rem;
  overflow-y: hidden;
}

h1 {
  color: #222222;
  font-size: 3.6rem;
  text-align: left;
  margin: 0;
  padding: 0;
  line-height: 1.35;
  margin-top: 0.8em;
  margin-bottom: 0.6em;
}

h1::after {
  content: "";
  display: block;
  padding-bottom: 1em;
  border-bottom: 3px double #1a0d0d;
}

h1,
h2,
h3,
h4 {
  color: #222222;
}

h2,
h3 {
  line-height: 2.4rem;
  margin-top: 1.8em;
  margin-bottom: 0.5em;
}

h2 {
  font-size: 2.4rem;
}

h3 {
  font-size: 2rem;
}

h4 {
  font-size: 1.84rem;
}

h5 {
  font-size: 1.76rem;
}

h6 {
  font-size: 1.6rem;
}

hr {
  margin: 38px 0;
  border: none;
  border-bottom: 1px dashed rgba(205, 205, 205, 0.35);
  color: rgba(205, 205, 205, 0.35);
  height: 1px;
  line-height: 1px;
  font-size: 1px;
  overflow-y: hidden;
}

img {
  max-width: 90%;
  display: block;
  object-fit: contain;
  border-radius: 10px;
  margin: 0.8em auto 0.8em auto;
  cursor: pointer;
  -webkit-transition: all 1s ease;
  -moz-transition: all 1s ease;
  -ms-transition: all 1s ease;
  -o-transition: all 1s ease;
  transition: all 1s ease;
  box-shadow: 0 1px 6px rgba(36, 37, 38, 0.08);
}

img:hover {
  outline: none;
  -webkit-box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56),
    0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56),
    0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2);
  box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56),
    0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2);
  -webkit-transform: translate3d(0, -2px, 0);
  transform: translate3d(0, -2px, 0);
}

br {
  line-height: 2.3;
}

a {
  color: #be0757;
  text-decoration: none;
}

a:hover {
  border-bottom: 1px solid #be0757;
}

ul,
ol {
  text-indent: 28px;
  display: block;
  margin-bottom: 0.5em;
  line-height: 2.2;
}

ul {
  list-style-type: circle;
}

li::marker {
  color: #c54a4a;
}

li {
  color: #353535;
}

/* 无序（有序）列表中的 checkbox 不换行 */
li p {
  display: inline;
}

/* 使得 checkbox 与 后面的文字不换行 */
input[type="checkbox"] + p {
  display: inline;
}

/* 下划线 */
u {
  color: #c54a4a;
  text-decoration-color: #c54a4a;
}

/* 行内代码 */

code {
  font-size: 1.44rem;
  margin: 0;
  padding: 0;
  font-family: Operator Mono, Consolas, Monaco, Menlo, monospace;
}

p code,
li code {
  color: #07c160;
  font-family: Operator Mono, Consolas, Monaco, Menlo, monospace;
  background: rgb(230, 230, 230);
  padding: 3px 5px;
  border-radius: 2px;
}

/* 代码块背景 */
pre {
  padding: 10px;
  border: 1px solid #ccc;
  background: transparent;
  border-radius: 5px;
  overflow-x: auto;
  background-color: #282c34;
}

pre::before {
  content: "";
  display: block;
  background: transparent;
  background: url(./preCode-bg-s.svg);
  height: 20px;
  width: 100%;
  background-size: 40px;
  background-repeat: no-repeat;
  margin-bottom: -7px;
  border-radius: 5px 5px 0 0;
}

/* 代码块 */
pre code {
  color: #664d9d;
  padding: 0;
  margin: 0;
  overflow-x: auto;
  word-break: keep-all;
}

pre::after {
  content: "";
}

html .hljs {
  background: transparent;
}

table {
  border-collapse: collapse;
  border: 1px solid #dfdfdf;
  margin: 20px 0;
  width: 100%;
  font-size: 1.6rem;
}

thead {
  background: rgba(0, 0, 0, 0.05);
}

tbody {
}

th {
  /* background: greenyellow; */
  border: 1px solid #dfdfdf;
  padding: 4px 8px;
}

tr {
}

td {
  border: 1px solid #dfdfdf;
  padding: 4px 8px;
}

a[href^="http"]:empty::before {
  content: attr(href);
}
/* 可视区域大于980px */
@media screen and (min-width: 914px) {
  body {
    width: 80%;
    border: 1px solid #1a0d0d;
    border-width: 0 1px;
  }
}

@media (max-width: 600px) {
  body {
    width: 100%;
    padding: 0 30px;
    background: #fdfdfd;
  }
}

@media (max-width: 480px) {
  body {
    width: 100%;
    padding: 0 20px;
  }
}

@media only screen and (max-width: 760px) {
  html {
    background: transparent;
  }

  body {
    width: 100%;
  }
}

/* page_css */
